﻿
@{
    ViewBag.Title = "UpdateView";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="box-body collapse in">
    <form class="form-horizontal" action="/Home/AddAnswer" method="post">
        <div class="form-group">
            <label for="text1" class="col-sm-2 control-label">AnswerId</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="text1" name="AnswerId">
            </div>
        </div>
        <hr class="b-s-dashed">
        <div class="form-group">
            @Html.ValidationMessage("AnswerId")
        </div>
        <hr class="b-s-dashed">
        <div class="form-group">
            <label for="text1" class="col-sm-2 control-label">AnswerContent</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="pass1" name="AnswerContent">
            </div>
        </div>
        <hr class="b-s-dashed">
        <div class="form-group">
            @Html.ValidationMessage("AnswerContent")
        </div>
        <hr class="b-s-dashed">
        <div class="form-group">
            <label for="textarea1" class="col-sm-2 control-label">BestNum</label>
            <div class="col-sm-10">
                <textarea class="form-control" rows="3" id="textarea1" name="BestNum"></textarea>
            </div>
        </div>
        <hr class="b-s-dashed">
        <div class="form-group">
            @Html.ValidationMessage("BestNum")
        </div>
        <hr class="b-s-dashed">

        <input type="submit" value="提交" />
    </form>
</div>

